﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using stefab.Musique;

namespace stefab
{
    public static class GoogleMapsApi
    {
        private static string API_KEY = "AIzaSyDYam9-4DHy-HqX9nMeGURVQ52mZ13OLFw";
        private static string urlGeolocalisationEvent = "http://maps.googleapis.com/maps/api/staticmap?center=%lat,%long&&zoom=13&size=600x300&&maptype=roadmap&&markers=color:blue%7Clabel:A%7C%lat,%long&&sensor=false";
    
        public static String getUrlGeo(Location uneLocation)
        {
            String url = urlGeolocalisationEvent.Replace("%lat", uneLocation.geolocLatitude).Replace("%long", uneLocation.geolocLongitude);
            return url;
        }
    
    
    }

}
